package com.shop.cereshop.app.dao.dl;

import com.shop.cereshop.app.dl.logic.domain.CereBuyerUser;
import com.shop.cereshop.app.dl.logic.vo.Statistics;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CereBuyerUserMapper {
    int deleteByPrimaryKey(Long buyerUserId);

    int insert(CereBuyerUser record);

    int insertSelective(CereBuyerUser record);

    CereBuyerUser selectByPrimaryKey(Long buyerUserId);

    CereBuyerUser selectByPhone(@Param("phone") String phone, @Param("name") String name);

    int updateByPrimaryKeySelective(CereBuyerUser record);

    int updateByPrimaryKey(CereBuyerUser record);

}